package com.fourforfo.common.to;

import lombok.Data;

import java.math.BigDecimal;

/**
 * 商品服务中发布商品时保存bounds数据
 *  调用fourmall-coupon的SpuBoundsController提供的保存方法
 *  需要一个两者共同依赖的公共TO类用于两个的参数封装与解析
 */
public class SpuBoundsTO {

    private Long spuId;
    private BigDecimal buyBounds;
    private BigDecimal growBounds;

    public Long getSpuId() {
        return spuId;
    }

    public void setSpuId(Long spuId) {
        this.spuId = spuId;
    }

    public BigDecimal getBuyBounds() {
        return buyBounds;
    }

    public void setBuyBounds(BigDecimal buyBounds) {
        this.buyBounds = buyBounds;
    }

    public BigDecimal getGrowBounds() {
        return growBounds;
    }

    public void setGrowBounds(BigDecimal growBounds) {
        this.growBounds = growBounds;
    }
}
